﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/MasterPage_User.master"
    AutoEventWireup="true" CodeFile="PostEntry.aspx.cs" Inherits="Pages_PostEntry" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table style="width: 70%">
        <tr>
            <td class="keycolor">
                Your name:
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtName"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                E-mail:
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtEmail"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Phone:
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtPhone"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Address:
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtAddress"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Category:
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlCategoryLv1" />
            </td>
        </tr>
                <tr>
                    <td>
                        Area:
                    </td>
                    <td>
                        <asp:DropDownList runat="server" ID="ddlArea" AutoPostBack="True" OnSelectedIndexChanged="ddlArea_SelectedIndexChanged" CausesValidation="True" />
                    </td>
                </tr>
                <tr>
                    <td>
                        Region:
                    </td>
                    <td>
                        <asp:DropDownList runat="server" ID="ddlRegion" AutoPostBack="True" OnSelectedIndexChanged="ddlRegion_SelectedIndexChanged" CausesValidation="True" />
                    </td>
                </tr>
        <tr>
            <td>
                City:
            </td>
            <td>
                <asp:DropDownList runat="server" ID="ddlCity" />
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Type Sale:
            </td>
            <td>
                <asp:RadioButton runat="server" GroupName="typesale" ID="rbtPerson" Text="Person"
                    Checked="True" />
            </td>
            <td>
                <asp:RadioButton runat="server" GroupName="typesale" ID="rbtCompany" Text="Company" />
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Entry Type Name:
            </td>
            <td>
                <asp:RadioButton runat="server" GroupName="entrytype" ID="rbtBuy" Text="Buy" />
           
                <asp:RadioButton runat="server" GroupName="entrytype" ID="rbtSale" Text="Sell" Checked="True" />
           
                <asp:RadioButton runat="server" GroupName="entrytype" ID="rbtAdvertise" Text="Advertise" />
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Entry Name:
            </td>
            <td>
                <asp:TextBox Width="200px" runat="server" ID="txtEntryName"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Entry content:
            </td>
            <td>
                <asp:TextBox runat="server" Width="200px" Height="50px" ID="txtEntryContent" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Price:
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtPrice"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Price Type:
            </td>
            <td>
                <asp:RadioButton runat="server" GroupName="pricetype" ID="rbtDeal" Text="Deal" Checked="True" />
            
                <asp:RadioButton runat="server" GroupName="pricetype" ID="rbtSpecific" Text="Specific" />
            </td>
        </tr>
        <tr>
            <td class="keycolor">
                Picture:
            </td>
            <td>
                <asp:FileUpload runat="server" ID="image_0" />
                <asp:FileUpload runat="server" ID="image_1" />
                <asp:FileUpload runat="server" ID="image_2" />
                <asp:FileUpload runat="server" ID="image_3" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button runat="server" ID="btnPost" Text="Post" OnClick="btnPost_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
